package com.springboot.mybatis.example.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.springboot.mybatis.example.domain.User;

@RestController
@RequestMapping("/testboot")
public class TestBootController {
	
    @RequestMapping("getuser")
    public User getUser() {
        User user = new User();
        user.setUserName("test");
        System.out.println(user.toString());
        return user;
    }
}
